package com.snow.conditions;

import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.criteria.Predicate;
import javax.persistence.criteria.Root;

public interface SubQueryCondition {

    Predicate buildSubQueryPredicate(Root<?> root, CriteriaQuery<?> query, CriteriaBuilder criteriaBuilder);
}
